#include <stdlib.h>
#include <string.h>

extern int	addvheader P ((struct dent * ent));
extern void	chupcase P ((unsigned char * s));
extern int	combinecaps P ((struct dent * hdr, struct dent * newent));
extern int	findfiletype P ((char * name, int searchnames,
		  int * deformatter));
extern int	hash P ((ichar_t * word, int hashtablesize));
#ifndef ICHAR_IS_CHAR
extern int	icharcmp P ((ichar_t * s1, ichar_t * s2));
extern ichar_t * icharcpy P ((ichar_t * out, ichar_t * in));
extern int	icharlen P ((ichar_t * str));
extern int	icharncmp P ((ichar_t * s1, ichar_t * s2, int n));
#endif /* ICHAR_IS_CHAR */
extern int	ichartostr P ((unsigned char * out, ichar_t * in, int outlen,
		  int canonical));
extern unsigned char *
		ichartosstr P ((ichar_t * in, int canonical));
extern void	lowcase P ((ichar_t * string));
extern int	makedent P ((unsigned char * lbuf, int lbuflen,
		  struct dent * d));
extern char *	printichar P ((int in));

extern int	stringcharlen P ((unsigned char * bufp, int canonical));
extern int	strtoichar P ((ichar_t * out, unsigned char * in, int outlen,
		  int canonical));
extern ichar_t * strtosichar P ((unsigned char * in, int canonical));
extern void	toutent P ((FILE * outfile, struct dent * hent,
		  int onlykeep));
extern void	upcase P ((ichar_t * string));
extern long	whatcap P ((ichar_t * word));
extern void	yyinit P ((void));
extern int	yyopen P ((char * file));
extern int	yyparse P ((void));

extern void	myfree P ((VOID * area));
extern VOID *	mymalloc P ((unsigned int));
extern VOID *	myrealloc P ((VOID * area, unsigned int size,
		  unsigned int oldsize));

